package cn.ly.jmockittest;

import cn.ly.easymocktest.User;

/**
 * Created by liuyu21 on 2017/10/22.
 */
public class LoginDao {

    public boolean login(User user){
        if("admin".equals(user.getUserName())
                && "admin".equals(user.getPassword())){
            return true;
        }
        return false;
    }

}
